package com.lzxuni.modules.weather.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.lzxuni.common.utils.StringUtils;
import com.lzxuni.common.utils.poi.ExcelUtil;
import com.lzxuni.modules.basics.entity.BasicEcharts;
import com.lzxuni.modules.common.entity.PageParameter;
import com.lzxuni.modules.weather.entity.WeatherInfo;
import com.lzxuni.modules.weather.mapper.WeatherInfoAnalyseMapper;
import com.lzxuni.modules.weather.mapper.WeatherInfoDayMapper;
import com.lzxuni.modules.weather.service.WeatherInfoAnalyseService;
import com.lzxuni.modules.weather.service.WeatherInfoDayService;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

/**
 * <p>
 * 天气信息_每日天气管理 服务实现类
 * </p>
 *
 * @author LaoNa
 * @since 2020-11-27
 */
@Service
public class WeatherInfoAnalyseServiceImpl extends ServiceImpl<WeatherInfoAnalyseMapper, WeatherInfo> implements WeatherInfoAnalyseService {
    //    查询月天气分析列表
    public List<BasicEcharts> queryDayList(WeatherInfo weatherInfo) {
        return baseMapper.queryDayList(weatherInfo);
    }

    //    查询月天气情况分析列表
    public List<BasicEcharts> queryDayRemarksList(WeatherInfo weatherInfo) {
        return baseMapper.queryDayRemarksList(weatherInfo);
    }



    //    查询小时天气分析列表
    public List<BasicEcharts> queryHourList(WeatherInfo weatherInfo) {
        return baseMapper.queryHourList(weatherInfo);
    }

    //    查询小时天气情况分析列表
    public List<BasicEcharts> queryHourRemarksList(WeatherInfo weatherInfo) {
        return baseMapper.queryHourRemarksList(weatherInfo);
    }
}
